import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 用户项目的main.js
import elePlugin from './index'  // 指向插件的index.js
Vue.use(elePlugin.install)
Vue.use(elePlugin.installComponent,  {theme:'dark' })
Vue.config.productionTip = false
Vue.use(ElementUI);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
